package com.ctg.itrdc.sysmgr.portal.api.dto;

import java.io.Serializable;
import java.sql.Timestamp;

import com.ctg.itrdc.pasp.core.DTO;


public class DataPrivRuleDTO extends BaseDTO implements Serializable {
	private static final long serialVersionUID = 1598179584838497003L;

	/**
	 * 权限规则标识,主键
	 */
	private Long privRuleId;

	/**
	 * 规则组,同组之间为"与"，组与组之间为"或"
	 */
	private Long ruleGroup;

	/**
	 * 权限标识
	 */
	private Long privId;

	/**
	 * 创建人
	 */
	private Long createStaff;

	/**
	 * 修改时间
	 */
	private Timestamp updateDate;

	/**
	 * 状态时间
	 */
	private Timestamp statusDate;

	/**
	 * 租户标识。
	 */
	private Long tenantId;

	/**
	 * 属性值,同一权限的同一业务对象属性标识的多个取值,可用逗号间隔
	 */
	private String attrValue;

	/**
	 * 分片键1，固定值-1。
	 */
	private Long shard1;

	/**
	 * 修改人
	 */
	private Long updateStaff;

	/**
	 * 分片键2，固定值-1。
	 */
	private Long shard2;

	/**
	 * 规则操作符,包含、等于、大于、大于等于、小于、小于等于
	 */
	private String ruleOperator;

	/**
	 * 状态
	 */
	private String statusCd;

	/**
	 * 在用版本号
	 */
	private String useVersion;

	/**
	 * 创建时间
	 */
	private Timestamp createDate;

	/**
	 * 规则操作类型，操作（所有）、查看（列）、取值（行）
	 */
	private String operType;

	/**
	 * 创建版本号
	 */
	private String crtVersion;

	/**
	 * 权限包含数据标识。
	 */
	private Long privDataRelId;

	/**
	 * 业务对象标识
	 */
	private Long busiObjId;

	/**
	 * 业务对象属性标识
	 */
	private Long busiObjAttrId;


	public void setPrivRuleId(Long privRuleId){
		this.privRuleId = privRuleId;
	}

	public Long getPrivRuleId(){
		return this.privRuleId;
	}

	public void setRuleGroup(Long ruleGroup){
		this.ruleGroup = ruleGroup;
	}

	public Long getRuleGroup(){
		return this.ruleGroup;
	}

	public void setPrivId(Long privId){
		this.privId = privId;
	}

	public Long getPrivId(){
		return this.privId;
	}

	public void setCreateStaff(Long createStaff){
		this.createStaff = createStaff;
	}

	public Long getCreateStaff(){
		return this.createStaff;
	}

	public void setUpdateDate(Timestamp updateDate){
		this.updateDate = updateDate;
	}

	public Timestamp getUpdateDate(){
		return this.updateDate;
	}

	public void setStatusDate(Timestamp statusDate){
		this.statusDate = statusDate;
	}

	public Timestamp getStatusDate(){
		return this.statusDate;
	}

	public void setTenantId(Long tenantId){
		this.tenantId = tenantId;
	}

	public Long getTenantId(){
		return this.tenantId;
	}

	public void setAttrValue(String attrValue){
		this.attrValue = attrValue;
	}

	public String getAttrValue(){
		return this.attrValue;
	}

	public void setShard1(Long shard1){
		this.shard1 = shard1;
	}

	public Long getShard1(){
		return this.shard1;
	}

	public void setUpdateStaff(Long updateStaff){
		this.updateStaff = updateStaff;
	}

	public Long getUpdateStaff(){
		return this.updateStaff;
	}

	public void setShard2(Long shard2){
		this.shard2 = shard2;
	}

	public Long getShard2(){
		return this.shard2;
	}

	public void setRuleOperator(String ruleOperator){
		this.ruleOperator = ruleOperator;
	}

	public String getRuleOperator(){
		return this.ruleOperator;
	}

	public void setStatusCd(String statusCd){
		this.statusCd = statusCd;
	}

	public String getStatusCd(){
		return this.statusCd;
	}

	public void setUseVersion(String useVersion){
		this.useVersion = useVersion;
	}

	public String getUseVersion(){
		return this.useVersion;
	}

	public void setCreateDate(Timestamp createDate){
		this.createDate = createDate;
	}

	public Timestamp getCreateDate(){
		return this.createDate;
	}

	public void setOperType(String operType){
		this.operType = operType;
	}

	public String getOperType(){
		return this.operType;
	}

	public void setCrtVersion(String crtVersion){
		this.crtVersion = crtVersion;
	}

	public String getCrtVersion(){
		return this.crtVersion;
	}

	public void setPrivDataRelId(Long privDataRelId){
		this.privDataRelId = privDataRelId;
	}

	public Long getPrivDataRelId(){
		return this.privDataRelId;
	}

	public void setBusiObjId(Long busiObjId){
		this.busiObjId = busiObjId;
	}

	public Long getBusiObjId(){
		return this.busiObjId;
	}

	public void setBusiObjAttrId(Long busiObjAttrId){
		this.busiObjAttrId = busiObjAttrId;
	}

	public Long getBusiObjAttrId(){
		return this.busiObjAttrId;
	}

	public Long getId() {
		return privRuleId;
	}
	
	public void setId(Long id) {
		this.privRuleId = id;
	}
    
	public DataPrivRuleDTO() {
		super();
    }
}
